<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="/module/jeDate/jedate.css"/>
    <style type="text/css">
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 4px 0px 0px 0px">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="tabbable">
                    <ul class="nav nav-tabs tabs-flat" id="myTab11" style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
                        <li class="active"><a href="/app/core/project/param/setparam" aria-expanded="true">项目类型</a></li>
                        <li class=""><a href="/app/core/project/param/setparam?view=role" aria-expanded="false">项目角色</a></li>
                        <li class=""><a href="/app/core/project/param/setparam?view=cost" aria-expanded="false">费用类型</a></li>
                        <li class=""><a href="/app/core/project/param/setparam?view=exp" aria-expanded="false">费用科目</a></li>
                    </ul>
                    <div class="tab-content tabs-flat" style="padding: 0px;">
                        <div class="col-md-12 col-sm-12 col-xs-12" style="padding:0px">
                            <div class="col-md-2 col-sm-2 col-xs-12" style="padding: 0px;">
                                <div class="widget flat radius-bordered">
                                    <div class="widget-header bg-lightred">
                                        <span class="widget-caption">项目分类列表</span>
                                    </div>
                                    <div class="widget-body">
                                        <ul id="tree" class="ztree"></ul>
                                        <a id="cbut" href="javascript:void(0);" class="btn btn-purple" style="width: 100%;">创建新分类</a>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-10 col-sm-10 col-xs-12" style="padding:0px">
                                <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px;">
                                    <div class="widget">
                                        <div class="widget-header bordered-bottom bordered-palegreen">
                                            <span class="widget-caption">项目分类基本信息</span>
                                        </div>
                                        <div class="widget-body" style="padding-top:0px">
                                            <form class="form-horizontal form-bordered" id="from">
                                                <input type="hidden" id="sortId" name="sortId">
                                                <div class="form-group">
                                                    <label class="col-sm-1 control-label no-padding-right">${i18n('system.sortNo')} ：</label>
                                                    <div class="col-sm-2">
                                                        <input type="text" class="form-control" id="sortNo" name="sortNo" placeholder="${i18n('system.sortNo')}">
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="col-sm-1 control-label no-padding-right">分类名称 ：</label>
                                                    <div class="col-sm-5">
                                                        <input type="text" class="form-control" id="sortName" name="sortName" placeholder="分类名称">
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="col-sm-1 control-label no-padding-right">父级分类：</label>
                                                    <div class="col-sm-5" style="position: relative;">
                                                        <input type="text" class="form-control" id="levelId" name="levelId" placeholder="请选择上级分类 "
                                                               readonly="readonly">
                                                        <div id="menuContent" class="menuContent">
                                                            <ul id="menuTree" class="ztree"></ul>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="col-sm-1 control-label no-padding-right">关联BPM流程 ：</label>
                                                    <div class="col-sm-5" id="flowdiv">

                                                    </div>
                                                    <div class="col-sm-6">
                                                        <a href="javascript:void(0);setBpm(this);" class="btn btn-purple btn-xs js-setbpm">设置</a>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <label class="col-sm-1 control-label no-padding-right">备注 ：</label>
                                                    <div class="col-sm-5">
                                                        <textarea rows="5" cols="" class="form-control" id="remark" name="remark"></textarea>
                                                    </div>
                                                </div>
                                                <div class="form-group">
                                                    <div class="col-sm-offset-1 col-sm-5">
                                                        <a id="createbut" href="javascript:void(0);" class="btn btn-primary">${i18n('system.create')}</a>
                                                        <a style="display: none;" id="updatabut" href="javascript:void(0);" class="btn btn-maroon">更&nbsp;&nbsp;改</a>
                                                        <a style="display: none;" id="delbut" href="javascript:void(0);" class="btn btn-danger shiny">删&nbsp;&nbsp;除</a>
                                                    </div>
                                                </div>
                                            </form>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="modal fade bs-example-modal-lg" id="bpmModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"
         style="display: none;">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 class="modal-title">流程选择</h4>
                </div>
                <div class="modal-body">
                    <select class="form-control" id="bpmlist">
                    </select>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                    <button type="button" class="btn btn-primary js-add-bpm">添加</button>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="orgselectdiv"></div>
<div id="attachselect"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/gobal/js/page/project/param/prosort.js"></script>
</body>
</html>
